package com.usian.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.article.dtos.ArticleHomeDto;
import com.usian.model.article.dtos.ArticleInfoDto;
import com.usian.model.article.pojos.ApArticle;
import com.usian.model.common.dtos.ResponseResult;

public interface ApArticleHomeService extends IService<ApArticle> {


    /**
     * 推荐 更新 加载更多
     * @param dto
     * @return
     */
    ResponseResult load(ArticleHomeDto dto, Integer type);

    /**
     * 文章详情
     * @param dto
     * @return
     */
    ResponseResult loadNewsById(ArticleInfoDto dto);

}